home *** CD-ROM | disk | FTP | other *** search
- on renseigne texte, nCurs
- set the text of cast "ZIACC" to " "
- set the text of cast "ZIACC" to texte
- curseur(nCurs)
- end
-
- on exitFrame
- global gAcLabel
- go(label(gAcLabel))
- end
-
- on survol_Loc monBt
- global gTraduit
- if monBt = "QZ" then
- renseigne(getAt(gTraduit, 14), 7)
- else
- if monBt = "OU" then
- renseigne(getAt(gTraduit, 11), 1)
- else
- if monBt = "DE" then
- renseigne(getAt(gTraduit, 4), 1)
- else
- if monBt = "TR" then
- renseigne(getAt(gTraduit, 5), 7)
- else
- if monBt = "PH" then
- renseigne(getAt(gTraduit, 7), 1)
- else
- if monBt = "CI" then
- renseigne(getAt(gTraduit, 8), 7)
- else
- if monBt = "BI" then
- renseigne(getAt(gTraduit, 9), 7)
- else
- if monBt = "SU" then
- renseigne(getAt(gTraduit, 3), 1)
- else
- if monBt = "DX" then
- renseigne(getAt(gTraduit, 13), 7)
- else
- if monBt = "MI" then
- renseigne(getAt(gTraduit, 10), 1)
- else
- if monBt = "TH" then
- renseigne(getAt(gTraduit, 6), 1)
- else
- renseigne(" ", -1)
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end
-
- on idle
- global gBarChron, gSurvolAct, gSurvolPrec, gListSuj, gMessDef1, gMaxBoutons, gEtaSpir, gMessSty1, g1erSprChr, g1erSprNav, g1erSprLoc, gListCod, gEtudAct, gTraduit, g1ereFois, gCDpath, gZicPath, gIndSel
- if the mouseDown = 0 then
- set MsCast to the mouseCast
- if MsCast > 0 then
- if not gEtaSpir then
- set gSurvolAct to 0
- repeat with monSpr = g1erSprChr to gMaxBoutons
- if rollOver(monSpr) and (the visible of sprite monSpr = 1) and ((monSpr < (g1erSprNav + 1)) or (monSpr >= g1erSprLoc)) then
- set gSurvolAct to monSpr
- exit repeat
- end if
- end repeat
- if gSurvolAct <> gSurvolPrec then
- if gSurvolAct <> 0 then
- if (gSurvolAct >= g1erSprChr) and (gSurvolAct <= (g1erSprChr + 9)) then
- renseigne(" ", 1)
- gBarChron(survol, gSurvolAct, the number of cast "ZIACC")
- end if
- if gSurvolAct = g1erSprNav then
- renseigne(getAt(gTraduit, 12), 7)
- end if
- if (gSurvolAct >= g1erSprLoc) and (gSurvolAct <= (g1erSprLoc + 10)) then
- if the number of words in the name of cast MsCast = 2 then
- set monBt to chars(word 1 of the name of cast MsCast, 4, 5)
- survol_Loc(monBt)
- end if
- end if
- if gSurvolAct = (g1erSprLoc + 14) then
- renseigne(getAt(gTraduit, 108), 1)
- end if
- if gSurvolAct = (g1erSprLoc + 15) then
- renseigne(getAt(gTraduit, 109), 7)
- end if
- else
- gBarChron(fleche, 0, 1, 1)
- renseigne(gMessDef1, -1)
- end if
- end if
- set gSurvolPrec to gSurvolAct
- updateStage()
- else
- if the number of words in the name of cast MsCast = 2 then
- if (word 2 of the name of cast MsCast = "1") or (word 2 of the name of cast MsCast = "0") then
- curseur(1)
- else
- curseur(-1)
- end if
- else
- curseur(-1)
- end if
- end if
- end if
- end if
- end
-